package linwen.wang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import linwen.wang.common.entity.BaseEntity;
import lombok.*;

import java.util.Date;

/**
 * @ClassName User
 * @Description TODO
 * @Author zero
 * @DATE 2024/4/23 2:45 AM
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_base_user")
public class User extends BaseEntity{

    @TableField("user_name")
    private String userName;

    @TableField("name_cn")
    private String nameCn;

    @TableField("name_en")
    private String nameEn;

    @TableField("account")
    private String account;

    @TableField("gender")
    private String gender;

    @TableField("phone")
    private String phone;

    @TableField("email")
    private String email;

    @TableField("address")
    private String address;

    @TableField("birthday")
    private Date birthday;
}
